/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1.uno;

/**
 *
 * @author abelitro
 */
class SuperCalc {

    protected static int multiply(int a, int b) {
        return a * b;
    }
}

class SubCalc extends SuperCalc {

    public static int multiply(int a, int b) {
        int c = a*b;
        return c;
    }
    
}

public class Calc {

    public static void main(String[]... a) {
        SubCalc sc = new SubCalc();
        System.out.println(sc.multiply(3, 4));
        System.out.println(SubCalc.multiply(2, 2));
    }
}
